import {CanvasContext} from "@/views/dataScreen/Context";
import {createRef} from "react";
import classNames from "classnames";
import './index.less'
const Lines = (props: { style: any }) => {
let contextType = CanvasContext;
    const {width, height} = props.style;
    return (
        <>
            <div
                className={classNames('lines-line','xLine')}
                style={{width, top: -2}}
            />
            <div
                className={classNames('lines-line', 'xLine')}
                style={{width, top: height}}
            />

            <div
                className={classNames('lines-line', 'yLine')}
                style={{height: height + 4, top: -2, left: -2}}
            />
            <div
                className={classNames('lines-line', 'yLine')}
                style={{height: height + 4, top: -2, left: width}}
            />
        </>
    );
}
export default Lines
